package kr.hkit.powerjava.chapter22.work;

public class Department {
	private int deorNo;
	private String deptName;
	private int Floor;
	public int getDeorNo() {
		return deorNo;
	}
	public void setDeorNo(int deorNo) {
		this.deorNo = deorNo;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public int getFloor() {
		return Floor;
	}
	public void setFloor(int floor) {
		Floor = floor;
	}
	@Override
	public String toString() {
		return String.format("Department [deorNo=%s, deptName=%s, Floor=%s]",
				deorNo, deptName, Floor);
	}
	
}

